{
    "keyboard_name": "Lagrange",
    "manufacturer": "Dimitris Papavasiliou",
    "url": "https://github.com/dpapavas/lagrange-keyboard",
    "maintainer": "dpapavas",
    "usb": {
        "vid": "0xFEED",
        "pid": "0x2718",
        "device_version": "0.0.1"
    },
    "matrix_pins": {
        "cols": ["B4", "B5", "D7", "B6", "C6", "D6"],
        "rows": ["E6", "F1", "F0", "F4", "F5", "F6", "F7"]
    },
    "diode_direction": "ROW2COL",
    "split": {
        "matrix_pins": {
            "right": {
                "cols": ["C7", "F7", "F6", "F5", "F4", "F1"],
                "rows": ["B5", "B4", "D7", "B6", "C6", "D6", "D4"]
            }
        }
    },
    "indicators": {
        "caps_lock": "D1",
        "scroll_lock": "D2"
    },
    "processor": "atmega32u4",
    "bootloader": "atmel-dfu",
    "layouts": {
        "LAYOUT": {
            "layout": [
                {"matrix": [0, 0], "x": 0, "y": 0.75, "w": 1.5},
                {"matrix": [0, 1], "x": 1.5, "y": 0.75},
                {"matrix": [0, 2], "x": 2.5, "y": 0.375},
                {"matrix": [0, 3], "x": 3.5, "y": 0},
                {"matrix": [0, 4], "x": 4.5, "y": 0.5},
                {"matrix": [0, 5], "x": 5.5, "y": 0.5},

                {"matrix": [7, 5], "x": 12.5, "y": 0.5},
                {"matrix": [7, 4], "x": 13.5, "y": 0.5},
                {"matrix": [7, 3], "x": 14.5, "y": 0},
                {"matrix": [7, 2], "x": 15.5, "y": 0.375},
                {"matrix": [7, 1], "x": 16.5, "y": 0.75},
                {"matrix": [7, 0], "x": 17.5, "y": 0.75, "w": 1.5},

                {"matrix": [1, 0], "x": 0, "y": 1.75, "w": 1.5},
                {"matrix": [1, 1], "x": 1.5, "y": 1.75},
                {"matrix": [1, 2], "x": 2.5, "y": 1.375},
                {"matrix": [1, 3], "x": 3.5, "y": 1},
                {"matrix": [1, 4], "x": 4.5, "y": 1.5},
                {"matrix": [1, 5], "x": 5.5, "y": 1.5},

                {"matrix": [8, 5], "x": 12.5, "y": 1.5},
                {"matrix": [8, 4], "x": 13.5, "y": 1.5},
                {"matrix": [8, 3], "x": 14.5, "y": 1},
                {"matrix": [8, 2], "x": 15.5, "y": 1.375},
                {"matrix": [8, 1], "x": 16.5, "y": 1.75},
                {"matrix": [8, 0], "x": 17.5, "y": 1.75, "w": 1.5},

                {"matrix": [2, 0], "x": 0, "y": 2.75, "w": 1.5},
                {"matrix": [2, 1], "x": 1.5, "y": 2.75},
                {"matrix": [2, 2], "x": 2.5, "y": 2.375},
                {"matrix": [2, 3], "x": 3.5, "y": 2},
                {"matrix": [2, 4], "x": 4.5, "y": 2.5},
                {"matrix": [2, 5], "x": 5.5, "y": 2.5},

                {"matrix": [9, 5], "x": 12.5, "y": 2.5},
                {"matrix": [9, 4], "x": 13.5, "y": 2.5},
                {"matrix": [9, 3], "x": 14.5, "y": 2},
                {"matrix": [9, 2], "x": 15.5, "y": 2.375},
                {"matrix": [9, 1], "x": 16.5, "y": 2.75},
                {"matrix": [9, 0], "x": 17.5, "y": 2.75, "w": 1.5},

                {"matrix": [3, 0], "x": 0, "y": 3.75, "w": 1.5},
                {"matrix": [3, 1], "x": 1.5, "y": 3.75},
                {"matrix": [3, 2], "x": 2.5, "y": 3.375},
                {"matrix": [3, 3], "x": 3.5, "y": 3},
                {"matrix": [3, 4], "x": 4.5, "y": 3.5},
                {"matrix": [3, 5], "x": 5.5, "y": 3.5},

                {"matrix": [10, 5], "x": 12.5, "y": 3.5},
                {"matrix": [10, 4], "x": 13.5, "y": 3.5},
                {"matrix": [10, 3], "x": 14.5, "y": 3},
                {"matrix": [10, 2], "x": 15.5, "y": 3.375},
                {"matrix": [10, 1], "x": 16.5, "y": 3.75},
                {"matrix": [10, 0], "x": 17.5, "y": 3.75, "w": 1.5},

                {"matrix": [4, 0], "x": 0, "y": 4.75, "w": 1.5},
                {"matrix": [4, 2], "x": 2.5, "y": 4.375},
                {"matrix": [4, 3], "x": 3.5, "y": 4},
                {"matrix": [4, 4], "x": 5, "y": 5, "h": 1.25},
                {"matrix": [4, 5], "x": 6, "y": 5, "h": 1.5},
                {"matrix": [5, 5], "x": 7, "y": 5, "h": 1.5},
                {"matrix": [6, 5], "x": 8, "y": 5.5},

                {"matrix": [13, 5], "x": 10, "y": 5.5},
                {"matrix": [12, 5], "x": 11, "y": 5, "h": 1.5},
                {"matrix": [11, 5], "x": 12, "y": 5, "h": 1.5},
                {"matrix": [11, 4], "x": 13, "y": 5, "h": 1.25},
                {"matrix": [11, 3], "x": 14.5, "y": 4},
                {"matrix": [11, 2], "x": 15.5, "y": 4.5},
                {"matrix": [11, 0], "x": 17.5, "y": 4.75, "w": 1.5},

                {"matrix": [5, 3], "x": 5, "y": 7},
                {"matrix": [5, 4], "x": 6, "y": 6.5},
                {"matrix": [6, 4], "x": 7, "y": 7},

                {"matrix": [13, 4], "x": 11, "y": 7},
                {"matrix": [12, 4], "x": 12, "y": 6.5},
                {"matrix": [12, 3], "x": 13, "y": 7},

                {"matrix": [6, 3], "x": 6, "y": 7.5},

                {"matrix": [13, 3], "x": 12, "y": 7.5}
            ]
        }
    }
}
